//
//  UILabel+LXLabel.h
//  LvXi_newVersion
//
//  Created by 王敏 on 16/9/6.
//  Copyright © 2016年 SJT. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (LXLabel)
+(instancetype)labelWithTextColor:(UIColor*)textColor font:(UIFont*)font;

+(instancetype)labelWithTextColor:(UIColor *)textColor backGroundColor:(UIColor*)backgroundColor font:(UIFont *)font;

/*
 -(UILabel*)creatLabel:(UIColor*)textColor font:(UIFont*)font{
 UILabel * label = [[UILabel alloc] init];
 label.textColor = textColor;
 label.font = font;
 label.textAlignment = NSTextAlignmentCenter;
 return label;
 }
 */


/**
 *  label文本的大小 在CGSize(MAXFLOAT,MAXFLOAT)的范范围内
 *
 *  @return CGSize 大小
 */
-(CGSize)textSize;
@end
